<div class="adminrosters form">
    <?php echo $this->Form->create('Adminroster', array('action' => 'saveStaff')); ?>
    <?php
    echo $this->Form->hidden('date', array('value' => $date));
    echo $this->Form->hidden('time', array('value' => $time));
    echo $this->Form->hidden('monthyear', array('value' => $this->Time->format('Y-m', $date)));
    ?>
    
        <?php
        echo $this->Form->input('Staff List', array('type' => 'select', 'multiple' => 'checkbox', 'options' => array($users)));
        //echo '<input type="checkbox" >' .. "<br>";
        ?>
    

    <div class ="button">
        <table>
            <tr>
                <th style="border: none;">
            <div class ='assignCancel'>
                <?php
                echo $this->Html->link('Cancel', array('action' => 'assign'), array('class' => 'cancel'));
                echo "</th>";
                ?>
            </div>
            
            <th style="border: none;">
           <?php echo $this->Form->submit('Submit');
            ?>
            </th>
            </tr>
        </table>
    </div>
</div>

